package smashedapples.air.sqlite.responses
{
	import smashedapples.air.sqlite.SQLiteTable;
	
	public class SQLiteSaveResponse extends SQLiteBaseResponse
	{
		
		public var inserted:Boolean = false;
		
		public function SQLiteSaveResponse( wasInserted:Boolean, table:SQLiteTable, data:Object )
		{

			super( table, data )
			
			inserted = ( wasInserted ) ? true : false;
		}
		
		public function getPkValue():*
		{
			return this.data[this.table.primaryKey.name];
		}
		
		
		
		
		

	}
}